<template>
    <div class="block">
        <el-date-picker
        v-model="value2"
        type="datetimerange"
        align="right"
        start-placeholder="开始日期"
        end-placeholder="结束日期"
        :default-time="['12:00:00', '08:00:00']">
        </el-date-picker>
  </div>
</template>

<script>
    export default {
    data() {
        return {
            value1: '',
            value2: ''
        };
    }
  };
</script>

<style lang="scss" scoped>
// 更改时间选择器的样式
.el-range-separator {
    padding: 0;
}
</style>